home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 165 / XENIATGM165.ISO / cddata / midframe.cxt / 00010_demo_menu2.swf / scripts / DefineButton2_6 / BUTTONCONDACTION on(rollOver).as < prev   
Encoding:
Text File  |  2003-05-29  |  314 b   |  20 lines

  1. on(rollOver){
  2.    _root.alone_mov(this._x);
  3.    i = 1;
  4.    while(i <= _root.maxbutton)
  5.    {
  6.       if(_name != "b" + i)
  7.       {
  8.          if(i != _root.pressione)
  9.          {
  10.             _parent["b" + i].gotoAndStop(1);
  11.          }
  12.       }
  13.       else
  14.       {
  15.          play();
  16.       }
  17.       i++;
  18.    }
  19. }
  20.